gdk: add a sanity check for events
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 May 2019 20:39:00 +0000 (20:39 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 May 2019 20:50:24 +0000 (20:50 +0000)
commit134e159bc90a8f45d546d01063e24c60260921c6
treee636f8c3e27c65563e06c0953817c42704ed5bc6
parent6f0b47681b877c0f2ea6e635ff600af30f99d24a
gdk: add a sanity check for events

Before delivering events to GTK, make sure
they're sane. For now, this means making sure
the surface and device are from the same
display.
gdk/gdkevents.c
gdk/gdkeventsprivate.h